
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';
import router from "@/router/index.js";
import * as Icons from '@element-plus/icons-vue'
import { createApp } from 'vue'
import App from './App.vue'


const app = createApp(App);

Object.entries(Icons).forEach(([key, component]) => {
  app.component(key, component)
})
app.use(ElementPlus);
app.use(router) // 注册路由
app.mount('#app');